
public class eventTime implements Comparable<eventTime>{
	protected LocalArrTime time;
	protected String gate;
	protected String flightID;
	private int tagID;
	public eventTime(String g,LocalArrTime t, String fl){
		setTime(t);
		setGate(g);
		flightID = fl;
	}
	/**
	 * @return the time
	 */
	public LocalArrTime getTime() {
		return time;
	}
	/**
	 * @param time the time to set
	 */
	public void setTime(LocalArrTime time) {
		this.time = time;
	}
	/**
	 * @return the gate
	 */
	public String getGate() {
		return gate;
	}
	/**
	 * @param gate the gate to set
	 */
	public void setGate(String gate) {
		this.gate = gate;
	}
	@Override
	public int compareTo(eventTime arg0) {
		return this.getTime().compareTo(arg0.getTime());
	}
	
	public String getFlight(){
		return flightID;
	}
	/**
	 * @return the tagID
	 */
	public int getTagID() {
		return tagID;
	}
	/**
	 * @param tagID the tagID to set
	 */
	public void setTagID(int tagID) {
		this.tagID = tagID;
	}
}
